-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update the react native version #314
Conversation
src/Gemfile
Outdated
@@ -1,7 +1,8 @@ | |||
source 'https://rubygems.org' | |||
|
|||
# You may use http://rbenv.org/ or https://rvm.io/ to install and use this version | |||
ruby ">= 3.3.2" | |||
ruby ">= 2.6.10" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you downgrade it? put 3.3.2 back
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I changed to this version because when creating a new react native 0.75.2 project this version is used.
src/android/build.gradle
Outdated
@@ -7,8 +7,8 @@ buildscript { | |||
compileSdkVersion = 34 | |||
targetSdkVersion = 34 | |||
|
|||
ndkVersion = "26.2.11394342" | |||
kotlinVersion = "1.8.0" | |||
ndkVersion = "26.1.10909125" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you downgrade it? put back to 26.2.11394342
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I followed the react native upgrade helper:
https://react-native-community.github.io/upgrade-helper/?from=0.73.8&to=0.75.2
src/package.json
Outdated
@@ -65,12 +65,11 @@ | |||
"@types/react-test-renderer": "^18.0.0", | |||
"babel-jest": "^29.6.4", | |||
"eslint": "^8.47.0", | |||
"jest": "^29.6.4", | |||
"jest": "^29.2.1", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why to downgrade?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch, I'll update to the one recommended here:
https://react-native-community.github.io/upgrade-helper/?from=0.73.8&to=0.75.2
src/package.json
Outdated
"@react-native-firebase/app": "^18.7.3", | ||
"@react-native-firebase/auth": "^18.3.1", | ||
"@react-native-firebase/crashlytics": "^18.3.1", | ||
"@react-native-firebase/firestore": "^18.3.1", | ||
"@react-native-firebase/functions": "^18.3.1", | ||
"@react-native-firebase/storage": "^18.3.1", | ||
"@react-navigation/native": "^6.1.9", | ||
"@react-navigation/native": "^6.0.8", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why to downgrade?
Updates react native to latest version (0.75.2)